<template>
  <div v-if="isShow">
    <slot name="default" msg="message"></slot>
    <slot name="left"></slot>
    <p>Dialog</p>
    <slot name="right"></slot>
  </div>
</template>

<script>
export default {
  name: 'Dialog',
  data() {
    return {
      isShow: true
    }
  },
  methods: {
    change() {
      this.isShow = !this.isShow
    }
  }
}
</script>

<style lang="scss" scoped></style>
